<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,initial-scale=1,user-scalable=no" />
	<title></title>
</head>

<body>
<p id="title" style="font-size: 18px;color: #333333;"></p>
<p id="time" style="font-size: 14px;color: gray;"></p>
<img id="img" width="100%" />
<p id="content" style="font-size: 15px;color: grey;"></p>
<script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script>
			$.ajax({
				//几个参数需要注意一下
				type: "POST", //方法类型
				dataType: "json", //预期服务器返回的数据类型
				url: "http://zk.gllle.com/app.php?c=Article&a=getArticleMsg", //url
				data: {
					"article_id": localStorage.getItem("id")
				},
				success: function(result) {
					$("#title").html(result.data.article_msg.title);
					$("#content").html(result.data.article_msg.content);
					$("#time").html(result.data.article_msg.pubtime);
					if(result.data.article_msg.bigimg != null)
						$("#img").attr("src", "http://zk.gllle.com/" + result.data.article_msg.bigimg)

				},
				error: function() {}
			});
		</script>
</body>

</html>